<script setup>
import zi from './components/zi.vue'
import {ref,reactive} from 'vue'
const fu=ref('11111111111+父传子')
const fn=(res)=>{
  console.log(res);
}
const fn2=(val)=>{
  console.log(val.value);
}
const fn3=(val)=>{
  console.log(val.value);
}
</script>

<template>
  <div>
    <zi :fuChuanZi='fu' @zi='fn' @zizujian='fn2' @zizujianThree='fn3'>父组件</zi>
  </div>
 
</template>

<style scoped>

</style>
